home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX 6.5 Applications 2004 April
/
SGI IRIX 6.5 Applications 2004 April.iso
/
dist
/
appletalk.idb
/
usr
/
etc
/
appletalk
/
gettwist.z
/
gettwist
Wrap
Text File
|
2002-03-07
|
634b
|
32 lines
#!/bin/csh -f
# @(#)gettwist 10.1 99/10/14
# Copyright (c) 1998 by Xinet, Inc. All Rights Reserved.
#
# Script to find "Twist" inputs and display them
#
if (-d /symlinks/io/jobs/workflows) then
set types = ( `ls /symlinks/io/jobs/workflows | grep -v setup` )
else
exit 1
endif
if ($#argv > 0) then
if ("$1" == get) then
if ($#argv < 2) exit 1
echo "/symlinks/io/jobs/workflows/$2"
exit 0
endif
if ("$1" == ppd) then
set ppd = /usr/adm/appletalk/ppds/DADASCPT.PPD
if (-r $ppd) echo $ppd
exit 0
endif
if ("$1" != list) exit 1
endif
set f = 1
while ($f <= $#types)
echo dir\:$types[$f]
@ f = $f + 1
end
exit 0